public class Client {
    public static void main(String[] args) {
        Product productA = ProductFactory.createProduct("A");
        productA.use();

        Product productB = ProductFactory.createProduct("B");
        productB.use();

        Product invalidProduct = ProductFactory.createProduct("C");
        invalidProduct.use();
    }
}